package com.shilei.ASM;

import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.ClassWriter;

import java.io.IOException;

import static org.objectweb.asm.Opcodes.ASM4;

/**
 * @description:
 * @author: 81271
 * @date: 2020-04-20 20:42
 */
public class ClassTransformerTest {
//    public static void main(String[] args) throws IOException {
//        ClassReader cr = new ClassReader(
//                ClassTransformerTest.class.getClassLoader().getResourceAsStream("com.shilei.ASM.Tank.class"));
//        ClassWriter cw = new ClassWriter(0);
//        ClassVisitor cv = new ClassVisitor(ASM4, cw) {
//
//        };
//    }
}
